<div class="row">
<style>
img{width:50px;border:none;}
.my_red{color:red;}
.my_green{color:green;}
.Tselect select{border:1px solid #CCCCCC;border-radius:5px;padding-left:5px;height: 30px;width: 100px;}
.Tselect select option{padding-left: 5px;}
.Tsearch input{height: 30px;border-radius: 5px;border: 1px solid #CCCCCC;padding-left: 5px;line-height: 30px;}
</style>
<!-- 表示一个成功的或积极的动作 -->
<div class="col-xs-6">
<a href="{:U('User/index')}"><button type="button" class="btn btn-primary active">关键字管理</button></a>
<button type="button" class="btn btn-primary"  data-toggle="modal" data-target="#myModal">添加关键字</button>
<a href="{:U('Word/share')}"><button type="button" class="btn btn-primary">更新分享</button></a>
<a href="{:U('Word/album')}"><button type="button" class="btn btn-primary">更新专辑</button></a>
<a href="{:U('Word/file')}"><button type="button" class="btn btn-primary">更新文件</button></a>
</div>
<section class="col-xs-3 Tselect">
	<form role="form">
		     <select name="sortT" class="option">
		     	<option value="default">默认</option>
				<option value="new">最新入库</option>
				<option value="times">搜索次数</option>
				<option value="rows">结果数量</option>
			</select>
		<button type="submit" class="btn btn-default">排序</button>
	</form>
</section>
<section class="col-xs-3 Tsearch">
	<form role="form">
		<input type="text" name="word" placeholder="关键字搜索" value="{$Think.get.word}"/>    
		<button type="submit" class="btn btn-default">搜索</button>
	</form>
</section>
<table class="table table-hover table-responsive">
   <thead>
      <tr>
      	 <th>编号</th>
         <th>关键字</th>
         <th>搜索次数</th>
         <th>结果数量</th>
         <th>入库时间</th>
         <th>操作</th>
      </tr>
   </thead>
   <tbody>
   	<volist name="data" id="data">
      <tr id="tr_{$data.id}" data-id="{$data.id}">
         <td>{$data.id}</td>
         <td>{$data.word}</td>
         <td>{$data.times}</td>
         <td>{$data.rows}</td>
         <td>{$data.time|date="Y-m-d H:i:s",###}</td>
         <td>
         	<a href="javascript:void(0);" class="update_word">更新</a>
         	<a href="javascript:void(0);" class="del_word">删除</a>
         </td>
      </tr>
     </volist>
   </tbody>
</table>
{$page}

</div>

</div>
<script>
   $(document).ready(function(){
   	//默认选项
   		
	   //删除达人
	   $(".delete_user").click(function(){
			if(!confirm('您确定要删除该达人吗？删除该达人之后，所有收录自该达人的资源也将被删除。')) return false;
	   });
   });
</script>








